package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author WeiZiDong
 */
@Table(name = "`sys_data_log`")
@Data
@ApiModel("")
public class SysDataLog implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "id", example = "String")
    private String id;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人登录名称", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建日期", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人登录名称", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新日期", example = "2019-05-05 17:55:31")
    private Date updateTime;
    @Column(name = "`data_table`")
    @ApiModelProperty(value = "表名", example = "String")
    private String dataTable;
    @Column(name = "`data_id`")
    @ApiModelProperty(value = "数据ID", example = "String")
    private String dataId;
    @Column(name = "`data_content`")
    @ApiModelProperty(value = "数据内容", example = )
    private  dataContent;
    @Column(name = "`data_version`")
    @ApiModelProperty(value = "版本号", example = "1")
    private Integer dataVersion;

    private static final long serialVersionUID = 1L;
}
